<?php
if(!defined("INC")){
    exit('Access Denied');
}
class CommonAction extends Action {
    public $U;
    function __construct() {
        parent::__construct();
        if(!checklogin()){
            redirect(U('Plus/login'));
            exit;
        }
        $U['uid']=$this->U['uid']=session("uid");
        $U['username']=$this->U['username']=session("username");
        $this->assign("U",$U);
    }
}
